package com.bj.dz.service;

import com.bj.dz.entity.SingleBuilding;
import com.bj.dz.util.Page;

import java.util.List;
import java.util.Map;

/**
* Created by lule on 2020/3/8.
*/
public interface SingleBuildingService {

    public SingleBuilding getSingleBuildingById(Integer id);

    public List<SingleBuilding>	getSingleBuildingListByMap(Map<String, Object> param);

    public Integer getSingleBuildingCountByMap(Map<String, Object> param);

    public boolean addSingleBuilding(SingleBuilding singleBuilding);

    public boolean modifySingleBuilding(SingleBuilding singleBuilding);

    public boolean deleteSingleBuildingById(Integer id);

    public Page<SingleBuilding> querySingleBuildingPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize);
}
